/*
 * @version: 
 * @Author: yu
 * @Date: 2023-07-10 15:51:00
 * @LastEditors: Andy
 * @LastEditTime: 2023-07-11 18:53:57
 */
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    open: true,  //设置自动打开
    proxy: 'http://localhost:3000'
    // port: 8080,    //设置端口
    // proxy: {
    //   "/api": {
    //     target: 'http://localhost:3000',  //目标地址
    //     changeOrigin: true,  //允许跨域
    //     pathRewrite: { //路径重写
    //       "^/api": "http://localhost:3000"
    //     }
    //   }
    // }
  }
})
